home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / cmykfw.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-11-26  |  2.7 KB  |  129 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef CMYKFARBEN_H
  8. #define CMYKFARBEN_H
  9.  
  10. #include <QDialog>
  11. class QHBoxLayout;
  12. class QVBoxLayout;
  13. class QGridLayout;
  14. class QLabel;
  15. class QFrame;
  16. class QLineEdit;
  17. class QCheckBox;
  18. class QPushButton;
  19. class QStackedWidget;
  20. class QSlider;
  21. class QPixmap;
  22. class QListWidgetItem;
  23.  
  24. #include "colorsetmanager.h"
  25. #include "sccolor.h"
  26. #include "scribusapi.h"
  27.  
  28. class ScColor;
  29. class ScribusDoc;
  30. class ScrSpinBox;
  31. class ScComboBox;
  32. class ColorListBox;
  33. class ColorChart;
  34.  
  35. class SCRIBUS_API CMYKChoose : public QDialog
  36. {
  37.     Q_OBJECT
  38.  
  39. public:
  40.     CMYKChoose( QWidget* parent, ScribusDoc* doc, ScColor orig, QString name, ColorList *Colors, QStringList Cust, bool newCol );
  41.     ~CMYKChoose() {};
  42.     QLabel* TextLabel1;
  43.     QLineEdit* Farbname;
  44.     QLabel* TextLabel3;
  45.     ScComboBox* ComboBox1;
  46.     QCheckBox* Separations;
  47. //    QCheckBox* Regist;
  48.     ScComboBox* Swatches;
  49.     QLabel* TextLabel5_2;
  50.     QLabel* OldC;
  51.     QLabel* TextLabel5;
  52.     QLabel* NewC;
  53.     QPushButton* Cancel;
  54.     QPushButton* Cancel_2;
  55.     QFrame* Frame4;
  56.     QStackedWidget* TabStack;
  57.     QFrame* Frame5;
  58.     QFrame* Frame5a;
  59.     ColorListBox* ColorSwatch;
  60.     ColorChart* ColorMap;
  61.     QLabel* CyanP;
  62.     QLabel* CyanT;
  63.     QSlider* CyanSL;
  64.     ScrSpinBox* CyanSp;
  65.     QLabel* MagentaP;
  66.     QLabel* MagentaT;
  67.     QSlider* MagentaSL;
  68.     ScrSpinBox* MagentaSp;
  69.     QLabel* YellowP;
  70.     QLabel* YellowT;
  71.     QSlider* YellowSL;
  72.     ScrSpinBox* YellowSp;
  73.     QLabel* BlackP;
  74.     QLabel* BlackT;
  75.     QSlider* BlackSL;
  76.     ScrSpinBox* BlackSp;
  77.     QPixmap imageA;
  78.     QPixmap imageN;
  79.     QPixmap alertIcon;
  80.     ScColor Farbe;
  81.     bool CMYKmode;
  82.     bool Wsave;
  83.     bool dynamic;
  84.     bool isNew;
  85.     bool isRegistration;
  86.     int BlackComp;
  87.     ColorList *EColors;
  88.     ColorList CurrSwatch;
  89.     QStringList CColSet;
  90.     QString Fnam;
  91.  
  92. public slots:
  93.     void slotRightClick();
  94.     void setValSLiders(double value);
  95.     void SetValueS(int val);
  96.     void ToggleSL();
  97.     QPixmap SliderPix(int farbe);
  98.     QPixmap SliderBlack();
  99.     void SelSwatch(int n);
  100.     void setSpot();
  101. //    void setRegist();
  102.     void SelModel(const QString& mod);
  103.     void setColor();
  104.     void setColor2(int h, int s, bool ende);
  105.     void SelFromSwatch(QListWidgetItem* c);
  106.     void setValues();
  107.     void Verlassen();
  108.  
  109. protected:
  110.     QHBoxLayout* CMYKFarbenLayout;
  111.     QVBoxLayout* Layout23;
  112.     QGridLayout* Layout2;
  113.     QGridLayout* Layout2x;
  114.     QHBoxLayout* Layout21;
  115.     QVBoxLayout* Frame4Layout;
  116.     QHBoxLayout* Frame5Layout;
  117.     QHBoxLayout* Frame5aLayout;
  118.     QVBoxLayout* Layout1_2;
  119.     QVBoxLayout* Layout1_2_2;
  120.     QVBoxLayout* Layout1_2_3;
  121.     QVBoxLayout* Layout1_2_4;
  122.     
  123.     ColorSetManager csm;
  124.     int customSetStartIndex;
  125.     ScribusDoc* m_doc;
  126. };
  127.  
  128. #endif // CMYKFARBEN_H
  129.